import React from 'react'
import { LoadingOutlined } from '@ant-design/icons';
import { Spin } from 'antd';
import './Loading.less'

const antIcon = (
  <LoadingOutlined
    style={{
      fontSize: 24,
    }}
    spin
  />
);

export default function Loading() {
  return (
    <div className='Loading'>
      <Spin indicator={antIcon} />
      <p>加载中...</p>
    </div>
  )
};